package space.xxhui.principleof6.ImageFactoryImp;

import android.content.Context;

import space.xxhui.principleof6.ImageCacheImp.ImageDiskLruCache;
import space.xxhui.principleof6.interfaces.IImageCache;
import space.xxhui.principleof6.interfaces.IImageFactory;

/**
 * Created by hui on 2016/10/21.
 */

public class ImageDiskLruCacheFactory implements IImageFactory {
    @Override
    public IImageCache createImageCache(Context context) {
        return ImageDiskLruCache.getInstance(context);
    }
}
